<?php
include 'apis/digu.php';
//header('Content-type: text/xml');
$config = array(
        'format' => 'json'
    );
$digu = new api_digu($config);
$digu->set_app('user_timeline', array('userIdOrName' => 'movoin'));
$test = $digu->get_statuses('user_timeline');
dump(json_decode($test));

//dump($test);


function dump($v) {
    echo '<pre>';
    print_r($v);
    echo '</pre>';
}
?>
